import request from '../request';

//删除该管理员
export function deleteAdminRequest(aid) {
    return request.post(
        `/delete_admin/${aid}`, aid
    )
}


//删除用户
export function deleteUserRequest(uid) {
    return request.post(
        `/delete_user/${uid}`
    )
}

//删除文章
export function deleteArticleRequest(aid) {
    return request.post(
        `/delete_article/${aid}`
    )
}

//获取文章详情预览
export function getArticleDetailRequest(aid) {
    return request.get(
        `/delete_article/${aid}`
    )
}

//删除讨论组
export function deleteDisGroupRequest(disId) {
    return request.post(
        `/delete_disgroup/${disId}`
    )
}



//删除问题
export function deleteQuestionRequest(qid) {
    return request.post(
        `/delete_question/${qid}`
    )
}